package cn.tedu.attendance.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Attendance {
    @ApiModelProperty(value = "考勤记录id")
    Long id;
    @ApiModelProperty(value = "用户id")
    Long userId;
    @ApiModelProperty(value = "考勤状态")
    String status;
    @ApiModelProperty(value = "考勤日期")
    Date today;
    @ApiModelProperty(value = "上班打卡时间")
    Date onDutyTime;
    @ApiModelProperty(value = "下班打卡时间")
    Date offDutyTime;
}